﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marmat.Foundation
{
    /// <summary>
    /// 报表打印事件触发的事件。
    /// </summary>
    public class ReportCancelEventArgs : System.ComponentModel.CancelEventArgs
    {

        /// <summary>
        /// 初始化 Marmat.Foundation.ReportPrintEventArgs 类的新实例
        /// </summary>
        /// <param name="report"></param>
        public ReportCancelEventArgs(IReportObject report)
        {
            this.Report = report;
        }

        /// <summary>
        /// 获取即将打印的报表对象。
        /// </summary>
        public IReportObject Report { get; }
    }
}
